<template>
    <div style="padding-top: 20px;">
        <el-form label-width="140px" :disabled="!isCanEdit">

            <el-form-item v-for="(item, idx) in deviceInfo.dstProductParamDetailVOList" :key="idx" :label="item.name"
                style="margin-left: 0px;">
                <el-input v-model="item.content" style="width: 300px" maxlength="20" />
            </el-form-item>

            <!-- <div class="flex-v">
                <el-form-item label="额定载重" style="margin-left: 0px;">
                    <el-input v-model="deviceInfo.entName" style="width: 300px" maxlength="10">
                        <template #append>kg</template>
                    </el-input>
                </el-form-item>
                <el-form-item label="额定速度" style="margin-left: 0px;">
                    <el-input v-model="deviceInfo.user" style="width: 300px" maxlength="20">
                        <template #append>m/s</template>
                    </el-input>
                </el-form-item>
            </div>
            <div class="flex-v">
                <el-form-item label="电梯层数" style="margin-left: 0px;">
                    <el-input v-model="deviceInfo.entName" style="width: 300px" maxlength="20" />
                </el-form-item>
                <el-form-item label="电梯站数" style="margin-left: 0px;">
                    <el-input v-model="deviceInfo.user" style="width: 300px" maxlength="20" />
                </el-form-item>
            </div>
            <div class="flex-v">
                <el-form-item label="电梯门数" style="margin-left: 0px;">
                    <el-input v-model="deviceInfo.entName" style="width: 300px" maxlength="20" />
                </el-form-item>
                <el-form-item label="控制方式" style="margin-left: 0px;">
                    <el-input v-model="deviceInfo.user" style="width: 300px" maxlength="20" />
                </el-form-item>
            </div>
            <div class="flex-v">
                <el-form-item label="是否斜行电梯" style="margin-left: 0px;">
                    <el-input v-model="deviceInfo.entName" style="width: 300px" maxlength="20" />
                </el-form-item>
                <el-form-item label="斜行电梯-倾斜角" style="margin-left: 0px;">
                    <el-input v-model="deviceInfo.user" style="width: 300px" maxlength="20" />
                </el-form-item>
            </div>
            <div class="flex-v">
                <el-form-item label="轿门位置" style="margin-left: 0px;">
                    <el-input v-model="deviceInfo.entName" style="width: 300px" maxlength="20" />
                </el-form-item>
            </div> -->
        </el-form>
    </div>
</template>
  
<script setup>
const props = defineProps({
    deviceInfo: {
        type: Object,
        default: () => {
            return {}
        },
    },
    isCanEdit: {
        type: Boolean,
        default: true
    },
});

</script>
  
<style scoped></style>